const express = require('express');
const router = express.Router();
const identify = require('./controllers/mathpix').identify;
const multer = require('multer');
const upload = multer();

router.post('/identify', upload.single('file'), identify);
router.get('/identify', identify);

module.exports = router;